﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EvidenceManagement.Model.Security;


namespace EvidenceManagement.Logic.Security
{
    public interface ISystemUserManager
    {
        ISystemUser GetUser(string userName, string password);
        ISystemUser RegisterUser(SystemUserSecurityPolicy[] userMembership);
        bool UpdateUserDetails(ISystemUser user);
        bool UpdateUserMembership(ISystemUser user, SystemUserSecurityPolicy[] userMembership);
        bool DeleteUser(ISystemUser user);
        bool ChangePassword(ISystemUser user, string currentPassword, string newPassword);
    }
}
